﻿CREATE TABLE [dbo].[BillOrderDisWin]
(
	[Id] INT NOT NULL PRIMARY KEY IDENTITY, 
    [BillOrderId] INT NOT NULL, 
    [RcptNo] NVARCHAR(50) NULL, 
    [VisitNo] NVARCHAR(50) NULL, 
    [DisWinAdd] NVARCHAR(200) NULL, 
    [DisWin] NVARCHAR(50) NULL
)

GO
EXEC sp_addextendedproperty @name = N'MS_Description',
    @value = N'主键，自增长',
    @level0type = N'SCHEMA',
    @level0name = N'dbo',
    @level1type = N'TABLE',
    @level1name = N'BillOrderDisWin',
    @level2type = N'COLUMN',
    @level2name = N'Id'
GO
EXEC sp_addextendedproperty @name = N'MS_Description',
    @value = N'缴费订单Id',
    @level0type = N'SCHEMA',
    @level0name = N'dbo',
    @level1type = N'TABLE',
    @level1name = N'BillOrderDisWin',
    @level2type = N'COLUMN',
    @level2name = N'BillOrderId'
GO
EXEC sp_addextendedproperty @name = N'MS_Description',
    @value = N'收据号',
    @level0type = N'SCHEMA',
    @level0name = N'dbo',
    @level1type = N'TABLE',
    @level1name = N'BillOrderDisWin',
    @level2type = N'COLUMN',
    @level2name = N'RcptNo'
GO
EXEC sp_addextendedproperty @name = N'MS_Description',
    @value = N'新流水号',
    @level0type = N'SCHEMA',
    @level0name = N'dbo',
    @level1type = N'TABLE',
    @level1name = N'BillOrderDisWin',
    @level2type = N'COLUMN',
    @level2name = N'VisitNo'
GO
EXEC sp_addextendedproperty @name = N'MS_Description',
    @value = N'发药地址',
    @level0type = N'SCHEMA',
    @level0name = N'dbo',
    @level1type = N'TABLE',
    @level1name = N'BillOrderDisWin',
    @level2type = N'COLUMN',
    @level2name = N'DisWinAdd'
GO
EXEC sp_addextendedproperty @name = N'MS_Description',
    @value = N'发药窗口',
    @level0type = N'SCHEMA',
    @level0name = N'dbo',
    @level1type = N'TABLE',
    @level1name = N'BillOrderDisWin',
    @level2type = N'COLUMN',
    @level2name = N'DisWin'